'''
Created on Sep 3, 2009

@author: dag
'''

class ImageTools(object):
    '''
        The parent class for all image tools
        defines a couple helper functions that might be useful in other tools
    '''


    def __init__(self,image):
        '''
        Constructor
        @param photo: All image tools require an image to work with
        '''
        self.image = image
    def getconfig(self,image):
        self.path=image.path
        self.name=image.name
        self.url=image.url
        